.gamingRoom {
  width: 100%;
  flex: 1;
  max-height: calc(100vh - 70px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  .layoutBox {
    width: 100%;
    flex: 1;
    max-height: calc(100vh - 70px);
    display: flex;
      position: relative;
    .waitActionBox{
      background-color: rgba(0,0,0,0.7);
      position: absolute;
      top: 10px;
      left: 50%;
      padding: 20px;
      // width: 900px;
      // margin-left: -150px;
      height: 350px;
      display: flex;
      z-index: 100;
      flex-direction: column;
      .waitActionBoxTit{
        height: 50px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 18px;
      }
      .waitActionBoxCon{
        flex: 1;
        display: flex;
        .waitActionBoxConItem{
          width: 180px;
          height: 280px;
          border: #fff;
          
        }
      }
    }

    .actionBox {
      width: 15%;
      min-width: 240px;
      border: 1px solid #00a9eb;
    }
    .fightBox {
      flex: 1;
      display: flex;
      flex-direction: column;
      .opponentView {
        width: 100%;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #fff;
      }
      .fightAea {
        flex: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
        .roundInfo {
          position: absolute;
          top: 0;
          right: 0;
          width: 200px;
          height: 70px;
          display: flex;
          flex-direction: column;
          justify-content: center;
          border: 1px solid #fff;
          padding: 5px;
        }
        .buffInfo {
          position: absolute;
          top: 0;
          left: 0;
          width: 200px;
          height: 70px;
          display: flex;
          flex-direction: column;
          justify-content: center;
          border: 1px solid #fff;
          padding: 5px;
        }
      }
    }
    .historyBox {
      min-width: 240px;
      border: 1px solid #fff;
      width: 15%;
      min-height: calc(100% - 70px);
      .historyTitle {
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #fff;
      }
      .judge{
        width: 100%;
        height: 60px;
        display: flex;
        flex-direction: column;
       
      }
      .endEound{
        width: 100%;
        height: 40px;
        cursor: pointer;
        color: #00a9eb;
        font-weight: 600;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-top: 1px solid #fff;
        &:hover{
          color: #fff;
        }
      }
      .historyCardBox {
        padding:10px;
        width: 100%;
        height: calc(100% - 140px);
        // height: calc(100% - 90px);
        overflow: auto;
        // display: flex;
        // flex-direction: column;
        .historyCardItem {
          width: 100%;
          height: 300px;
          margin-bottom: 10px;
          border: 1px solid #00a9eb;
        }
      }
    }
  }
  .seletHideCard {
    margin-top: 50px;
    width: 100%;
    flex: 1;
    max-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    .selectTitle {
      color: #fff;
      font-size: 18px;
    }
    .selectBox {
      margin-top: 20px;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      .seletHideCardItem {
        margin: 8px;
        background: #fff;
        width: 220px;
        height: 350px;
      }
    }
    .buttonView {
      margin-top: 16px;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}

.VCardView {
  width: 142px;
  height: 210px;
  padding: 5px;
  .imgBox {
    width: 100%;
    img {
      max-width: 100%;
      max-height: 100%;
    }
  }
  .captionBox {
    width: 100%;
    height: 20%;
  }
  .attributeBox {
    width: 100%;
    height: 10%;
  }
}

.HandCard {
  width: 100%;
  display: flex;
  padding: 5px;
  border-top: 1px solid #00a9eb;
  border-bottom: 1px solid #00a9eb;
  position: relative;
  .backImage {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
  }
  .cardBox {
    z-index: 10;
    min-width: 80%;
    display: flex;
    .cardBoxItem {
      margin: 0 6px;
    }
  }
  .progressView {
    flex: 1;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }
}

.BattleZone {
  flex: 1;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  .roleView {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -10px;
    .roleViewBox {
      width: 200px;
      height: 320px;
      transform: rotate(90deg);
    }
  }
  .hideCardView {
    margin-top: -40px;
    width: 100%;
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    .hideCardViewItem {
      width: 180px;
      height: 230px;
      border: 1px solid #fff;
      margin: 5px;
    }
  }
}
.EnemyView {
  flex: 1;
  background-color: aqua;
}
.OneselfView {
  flex: 1;
  background-color: red;
}
.CardpileView {
  width: 100%;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  span {
    font-size: 16px;
    color: #fff;
  }
}
.ActionAreaView {
  padding: 6px;
  width: 100%;
  display: flex;
  flex-direction: column;
  .cardSlot {
    width: 100%;
    padding: 10px;
    height: 345px;
    border: 1px solid #00a9eb;
  }
  .menuView {
    width: 100%;
    padding: 8px;
    border: 1px solid #00a9eb;
    display: flex;
    flex-wrap: wrap;
    .title {
      width: 100%;
      height: 30px;
      display: flex;
      align-items: center;
    }
    .content {
      width: 100%;
      min-height: 100px;
      display: flex;
      flex-wrap: wrap;
      .ButtonMenu {
        margin: 7px;
      }
    }
  }
  .CardpileBox {
    width: 100%;
    padding: 10px;
    height: 345px;
    border: 1px solid #00a9eb;
  }
}
